#pragma once

// include some common macros

#define SAFE_DELETE(x) if(x!=0){x->Release();x=0;};
#define PTR_DELETE(x) if(x!=0){delete x;x=0;};